/// Author: QP
/// Version: 1.0
/// Date:2021/07
/// 医嘱条目子表
/// 注意，这不是章节类，是医嘱条目类
Class HCC.SQL.Document.ProviderOrder.Item Extends (%Persistent, %XML.Adaptor, HCC.SQL.Base) [ DependsOn = (HCC.SQL.Base, HCC.SQL.Document.ProviderOrder.Item.Exec) ]
{

/// 文档号
Relationship ProviderOrder As HCC.SQL.Document.ProviderOrder(XMLPROJECTION = "NONE") [ Cardinality = parent, Inverse = Items, SqlFieldName = DocumentNo ];

/// 医嘱项目类型
Property orderType As WS.DE.DE060028900 [ SqlFieldName = order_type ];

/// 医嘱项目
Property orderItem As WS.DE.DE060028800 [ SqlFieldName = order_item ];

/// 医嘱计划开始时间
Property plannedBeginTime As WS.DE.DE060022200 [ SqlFieldName = planned_begin ];

/// 医嘱计划结束时间
Property plannedEndTime As WS.DE.DE060021900 [ SqlFieldName = planned_end ];

/// 医嘱执行
Property exec As HCC.SQL.Document.ProviderOrder.Item.Exec [ SqlFieldName = exec ];

/// 医嘱开立
Property place As HCC.SQL.Document.ProviderOrder.Item.Place [ SqlFieldName = place ];

/// 医嘱审核
Property review As HCC.SQL.Document.ProviderOrder.Item.Review [ SqlFieldName = review ];

/// 医嘱取消
Property cancel As HCC.SQL.Document.ProviderOrder.Item.Cancel [ SqlFieldName = cancel ];

/// 医嘱核对
Property verify As HCC.SQL.Document.ProviderOrder.Item.Verify [ SqlFieldName = verify ];

/// 医嘱停止
Property terminate As HCC.SQL.Document.ProviderOrder.Item.Terminate [ SqlFieldName = terminate ];

/// 医嘱备注信息
Property notes As WS.DE.DE060017900 [ SqlFieldName = notes ];

/// 电子申请单编号
Property eApplyNo As WS.DE.DE010000800 [ SqlFieldName = eApplyNo ];

/// 处方药品组号
Property groupNo As WS.DE.DE085005600 [ SqlFieldName = groupNo ];


}
